package com.amoyt.project.domain.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 贫困户基本信息表（家庭级）
 * </p>
 *
 * @author AmoyT
 * @since 2025-08-21
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Schema(description = "贫困户基本信息表（家庭级）")
@TableName("poverty_household_base")
public class HouseholdBase implements Serializable {

    private static final long serialVersionUID = 1L;

    @Schema(description = "贫困户ID（25位字符串）")
    @TableId(value = "household_id", type = IdType.INPUT)
    private String householdId;

    @Schema(description = "贫困户编号")
    private String householdNumber;

    @Schema(description = "户主姓名")
    private String headOfHousehold;

    @Schema(description = "户主身份证号")
    private String headIdCard;

    @Schema(description = "家庭人口数")
    private Integer familySize;

    @Schema(description = "详细住址，关联地址id")
    private Long addressId;

    @Schema(description = "联系电话（户主）")
    private String phone;

    @Schema(description = "登记状态：0-未登记，1-已登记")
    private String registrationStatus;

    @Schema(description = "家庭经济状况分类")
    private String economicStatus;

    @Schema(description = "家庭贫困程度等级")
    private String povertyLevel;

    @Schema(description = "贫困户类型 农业户口，非农业户口，城镇居民户口")
    private String householdType;

    @Schema(description = "贫困状态（‘已脱贫’，‘未脱贫’，‘检测对象’）")
    private String povertyStatus;

    @Schema(description = "纳入贫困系统的时间")
    private Date inclusionDate;

    @Schema(description = "创建人")
    private String createBy;

    @Schema(description = "创建时间")
    private Date createTime;

    @Schema(description = "修改人")
    private String updateBy;

    @Schema(description = "修改时间")
    private Date updateTime;

    @Schema(description = "逻辑删除：0-未删除，1-已删除")
    private Integer deleted;
}
